﻿$(function () {
    $("#links li").click(function () {
        var a = $("a", $(this));
        if (a) {
            var url = a.attr("href");
            location.href = url;
        }
    });
});